/**
 * Created by S on 2016/3/21.
 */
var express = require('express');
var router = express.Router();
var administratorController =require('../controller/administratorController');

router.post('/insertadmin', administratorController.insertuser);

router.post('/loginadmin', administratorController.loginuser);

router.post('/changeadmin', administratorController.changeinfo);

router.post('/deleteadmin', administratorController.deleteuser);

module.exports = router;